﻿/*#region Compose*/
.compose-container {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    display: block;
    background-color: #fafafa;
    position: relative;
}
    .compose-container > .compose {
        position: relative;
    }
        .compose-container > .compose > .title-editor {
            width: calc(100% - 22px);     
            padding: 10px;
            font: normal 14px tahoma;
            border: 1px solid #ddd;
            outline: none;
            margin-bottom: 5px;
        }
        .compose-container > .compose > .editor {
            width: calc(100% - 22px); 
            height: 50px;                  
            line-height: 24px;
            padding: 10px;
            font: normal 14px tahoma;
            font-size: 14px;
            border: 1px solid #ddd;
            resize: none;
            outline: none;
        }
/*#region PostButton*/
.compose-container > .compose > .post-button-container {
    position: absolute;
    bottom: 0px;
    right: 0px;
    border: 1px solid #ddd;
    background-color: white;
}
    .compose-container > .compose > .post-button-container > .post-button {
        font-size: 14px;
        background-color: transparent;
        border: none;
        outline: none;
        height: 30px;
        padding: 0 10px;
        transition: padding-left 0.5s;
        position: relative;
    }
        .compose-container > .compose > .post-button-container > i {
            font-size: 15px;
            position: absolute;
            top: 8px;
            left: 9px;
            color: #08c;
            z-index: 0;
            transform: scale(0, 0);
        }
        .compose-container > .compose > .post-button-container:hover {
            border-color: #08c;
        }
        .compose-container > .compose > .post-button-container:hover > .post-button {
            padding-left: 30px;
        }
        .compose-container > .compose > .post-button-container:hover > i {
            transition: transform 0.2s 0.5s;
            transform: none;
        }
/*#endregion PostButton*/
/*#region AttachFile*/
.compose-container > .compose > .attach-file-container {
    margin-top: 5px;
}
    .compose-container > .compose > .attach-file-container > .attach-file-button-container {
        display: inline-block;
        position: relative;
        cursor: pointer;
        max-width: 50%;
    }
        .compose-container > .compose > .attach-file-container > .attach-file-button-container:hover > .text-attach-file {
            text-decoration: underline;
        }
        .compose-container > .compose > .attach-file-container > .attach-file-button-container > i {
            font-size: 16px;
        }
        .compose-container > .compose > .attach-file-container > .attach-file-button-container > .text-attach-file {
            font-size: 12px;
            text-overflow: ellipsis;
            overflow: hidden;
            display: inline-block;
            max-width: 90%;
            white-space: nowrap;
        }  
    .compose-container > .compose > .attach-file-container > .cancel-attach-file {
        display: inline-block;
        transform: scale(0, 0);
    }   
    .compose-container > .compose > .attach-file-container > .cancel-attach-file.show {
        transition: transform 0.5s 0.5s;
        transform: none;
    }   
        .compose-container > .compose > .attach-file-container > .cancel-attach-file > i {
            font-size: 12px;
        }   
        .compose-container > .compose > .attach-file-container > .cancel-attach-file:hover > i {
            color: #08c;
            cursor: pointer;
        }   
/*#endregion AttachFile*/
/*#region ArticleType*/
.compose-container > .compose > .article-type-container {
    margin: 5px 0px;
}
/*#region AddButton*/
.compose-container > .compose > .article-type-container > .add-article-type-button {
    display: inline-block;
    cursor: pointer;
}
    .compose-container > .compose > .article-type-container > .add-article-type-button > i {
        font-size: 16px;
        vertical-align: middle;
    }
    .compose-container > .compose > .article-type-container > .add-article-type-button > .text-add-article-type {
        font-size: 12px;
    }
    .compose-container > .compose > .article-type-container > .add-article-type-button:hover > .text-add-article-type {
        text-decoration: underline;
    }
/*#endregion AddButton*/
/*#region Setting*/
.compose-container > .compose > .article-type-container > .add-article-type-container {
    display: none;
}
    .compose-container > .compose > .article-type-container > .add-article-type-container > .add-article-type-type {
        margin: 5px 0px;
    }
        .compose-container > .compose > .article-type-container > .add-article-type-container > .add-article-type-type > select {
            padding: 2px;
            border: 1px solid #ddd;
            outline: none;
            max-width: 100%;
            height: 26px;
        }
            .compose-container > .compose > .article-type-container > .add-article-type-container > .add-article-type-type > select:focus {
                border-color: #08c;
            }
    .compose-container > .compose > .article-type-container > .add-article-type-container > .add-article-type-time {
        margin: 5px 0px;
    }
        .compose-container > .compose > .article-type-container > .add-article-type-container > .add-article-type-time > select {
            padding: 2px;
            border: 1px solid #ddd;
            outline: none;
            height: 26px;
            vertical-align: middle;
        }
            .compose-container > .compose > .article-type-container > .add-article-type-container > .add-article-type-time > select:focus {
                border-color: #08c;
            }
        .compose-container > .compose > .article-type-container > .add-article-type-container > .add-article-type-time > input {
            padding: 2px;
            border: 1px solid #ddd;
            outline: none;
            visibility: hidden;
        }
            .compose-container > .compose > .article-type-container > .add-article-type-container > .add-article-type-time.set-time > input {
                visibility: visible;
            }
            .compose-container > .compose > .article-type-container > .add-article-type-container > .add-article-type-time > input:focus {
                border-color: #08c;
            }
    .compose-container > .compose > .article-type-container > .add-article-type-container > .action-add-article-type {

    }
        .compose-container > .compose > .article-type-container > .add-article-type-container > .action-add-article-type > section {
            display: inline;
            cursor: pointer;
        }        
            .compose-container > .compose > .article-type-container > .add-article-type-container > .action-add-article-type > section > i {
                font-size: 15px;
                vertical-align: middle;
            }
            .compose-container > .compose > .article-type-container > .add-article-type-container > .action-add-article-type > section > span {
                font-size: 13px;
            }
                .compose-container > .compose > .article-type-container > .add-article-type-container > .action-add-article-type > section:hover > span {
                    text-decoration: underline;
                }      
/*#endregion Setting*/
/*#region Current*/
    .compose-container > .compose > .article-type-container > .current-article-type {
        width: 100%;
    }
        .compose-container > .compose > .article-type-container > .current-article-type:after {
            content: "";
            display: block;
            clear: both;
        }
        .compose-container > .compose > .article-type-container > .current-article-type > .article-type-info {
            background-color: white;
            padding: 5px;
            border: 1px solid #eee;
            position: relative;
            cursor: pointer;
            display: inline-block;
            margin: 5px 5px 0px 0px;
        }
            .compose-container > .compose > .article-type-container > .current-article-type > .article-type-info > .article-type-name {
                display: inline;
                font-size: 12px;
                color: #888;
            }
            .compose-container > .compose > .article-type-container > .current-article-type > .article-type-info > .article-type-time {
                display: inline;
                font-size: 11px;
                color: #888;
            }
            .compose-container > .compose > .article-type-container > .current-article-type > .article-type-info > .article-type-clear {
                position: absolute;
                top: 0px;
                right: 0px;
            }
                .compose-container > .compose > .article-type-container > .current-article-type > .article-type-info > .article-type-clear > i {
                    display: block;
                    width: 15px;
                    height: 15px;
                    font-size: 15px;
                    line-height: 15px;
                    text-align: center;
                }
                .compose-container > .compose > .article-type-container > .current-article-type > .article-type-info:hover > .article-type-clear > i {
                    color: #08c;
                }
/*#region Current*/
/*#endregion ArticleType*/
/*#endregion Compose*/
/*#endregion ArticleType*/
/*#endregion Compose*/
/*#region ArticleContainer*/
/*#region ArticleItem*/
.article-container {
}
.article-container > .article-item {
    border: 1px solid #ddd;
    background-color: white;
    margin-bottom: 10px;
    position: relative;
}
/*#region icon*/
.article-container > .article-item > .icon-container {
    display: block;
    position: absolute;
    left: -21px;
    top: -1px;
    background-color: white;
    width: 19px;
    border: 1px solid #ddd;
    border-right-color: white;
}
    .article-container > .article-item > .icon-container > .icon {
        display: block;
        width: 25px;
        height: 25px;
        line-height: 25px;
        text-align: center;
        font-size: 15px;
    }
/*#endregion icon*/
/*#region post*/
.article-container > .article-item > .post-container {
    padding: 20px;
    margin-bottom: 10px;
}
    .article-container > .article-item > .post-container > .action-button {
        position: absolute;
        top: -1px;
        right: -1px;
    }
        .article-container > .article-item > .post-container > .action-button:hover > i {
            color: #08c;
        }
        .article-container > .article-item > .post-container > .action-button:hover > ul {
            visibility: visible;
        }
        .article-container > .article-item > .post-container > .action-button > i {
            width: 25px;
            height: 25px;
            font-size: 15px;
            text-align: center;
            line-height: 25px;
            display: block;
            color: #ddd;
        }
        .article-container > .article-item > .post-container > .action-button > ul {
            background-color: white;
            border: 1px solid #ddd;
            font: normal 12px Tahoma;
            position: absolute;
            z-index: 4;
            top: 26px;
            right: -4px;
            visibility: hidden;
        }
            .article-container > .article-item > .post-container > .action-button > ul:before {
                display: block;
                content: '';
                position: absolute;
                top: -14px;
                right: 9px;
                border: 7px solid transparent;
                border-bottom-color: #ddd;
            }
            .article-container > .article-item > .post-container > .action-button > ul:after {
                display: block;
                content: '';
                position: absolute;
                top: -12px;
                right: 10px;
                border: 6px solid transparent;
                border-bottom-color: white;
            }
            .article-container > .article-item > .post-container > .action-button > ul > li {
                border-left: 3px solid transparent;
            }
            .article-container > .article-item > .post-container > .action-button > ul > li:hover {
                background-color: #fafafa;
                border-left-color: #08c;
            }
                .article-container > .article-item > .post-container > .action-button > ul > li > a {
                    text-decoration: none;
                    color: black;
                    display: block;
                    padding: 5px;
                    width: 100px;
                }
    .article-container > .article-item > .post-container > .post-info {

    }
        .article-container > .article-item > .post-container > .post-info > .author {
            font: bold 15px Tahoma;  
            display: inline;  
        }
        .article-container > .article-item > .post-container > .post-info > .time {
            font-size: 11px;
            display: inline;  
            color: #888;
        }
            .article-container > .article-item > .post-container > .post-info > .time:before {
                content: " - ";
            }
    /*#region content theo editor*/
    .article-container > .article-item > .post-container > .content {
        position: relative;
    }
        .article-container > .article-item > .post-container > .content > p.tieu-de {
            border-bottom: 1px dashed #eee;
            font-size: 15px;
        }        
        .article-container > .article-item > .post-container > .content p {
            text-indent: 10px;
            margin: 5px 0px;
            font-size: 14px;
            line-height: 25px;
        }
        .article-container > .article-item > .post-container > .content pre {
            white-space: pre-wrap;
            /* CSS3 */
            white-space: -moz-pre-wrap;
            /* Mozilla, post millennium */
            white-space: -pre-wrap;
            /* Opera 4-6 */
            white-space: -o-pre-wrap;
            /* Opera 7 */
            word-wrap: break-word;
            /* Internet Explorer 5.5+ */
            border: solid 1px #ddd;
            background: #fafafa;
            padding: 10px;
            -moz-background-clip: padding;
            -webkit-background-clip: padding-box;
            background-clip: padding-box;
            margin: 5px 0px;
        }
        .article-container > .article-item > .post-container > .content blockquote {
            margin: 5px 0px 5px 20px;
            padding-left: 20px;
            font-style: italic;
            font-size: 14px;
            border-left: solid 5px #eee;
        }
        .article-container > .article-item > .post-container > .content ul,
        .article-container > .article-item > .post-container > .content ol {            
            font-size: 14px;
            padding-left: 25px;
        }
    /*#endregion content theo editor*/
    /*#region sửa*/
    .article-container > .article-item > .post-container > .content > .title-editor {
        width: calc(100% - 22px);     
        padding: 10px;
        font: normal 14px tahoma;
        border: 1px solid #ddd;
        outline: none;
        margin: 5px 0px;
    }
    .article-container > .article-item > .post-container > .content > .noi-dung.froala-box {
        margin-bottom: 15px;
    }
    .article-container > .article-item > .post-container > .content > .post-button-container {
            position: absolute;
            bottom: -35px;
            right: 0px;
    }
        .article-container > .article-item > .post-container > .content > .post-button-container > div {
            border: 1px solid #ddd;
            background-color: white;
            position: relative;
            float: left;
            margin-left: 3px;
        }
        .article-container > .article-item > .post-container > .content > .post-button-container > div > .post-button {
            font-size: 14px;
            background-color: transparent;
            border: none;
            outline: none;
            height: 30px;
            padding: 0 10px;
            transition: padding-left 0.5s;
            position: relative;
        }
            .article-container > .article-item > .post-container > .content > .post-button-container > div > i {
                font-size: 15px;
                position: absolute;
                top: 8px;
                left: 9px;
                z-index: 0;
                transform: scale(0, 0);
            }
            .article-container > .article-item > .post-container > .content > .post-button-container > div.nut-huy > i {
                color: #fb0000;
            }
            .article-container > .article-item > .post-container > .content > .post-button-container > div.nut-sua > i {
                color: #08c;
            }
            .article-container > .article-item > .post-container > .content > .post-button-container > div.nut-huy:hover {
                border-color: #fb0000;
            }
            .article-container > .article-item > .post-container > .content > .post-button-container > div.nut-sua:hover {
                border-color: #08c;
            }
            .article-container > .article-item > .post-container > .content > .post-button-container > div:hover > .post-button {
                padding-left: 30px;
            }
            .article-container > .article-item > .post-container > .content > .post-button-container > div:hover > i {
                transition: transform 0.2s 0.5s;
                transform: none;
            }
    /*#endregion sửa*/
    .article-container > .article-item > .post-container > .file {
        border: 1px dashed #ddd;
        padding: 10px 5px;
        margin-top: 10px;
    }
        .article-container > .article-item > .post-container > .file > .show-file-button {
            display: block;
            font-size: 11px;
            position: relative;
            color: black;
            text-decoration: none;
        }
            .article-container > .article-item > .post-container > .file > .show-file-button:hover {
                text-decoration: underline;
            }
            .article-container > .article-item > .post-container > .file > .show-file-button > i {
                font-size: 16px;
                vertical-align: -3px;
                margin-right: 5px;
            }
/*Ở cả bài viết với bình luận*/
.file-show {
    position: relative;
}
    .file-show > .download-button {
        color: black;
        text-decoration: none;
    }
        .file-show > .download-button:hover {
            color: #08c;
        }
        .file-show > .download-button > i {
            font-size: 16px;
            vertical-align: middle;
        }
        .file-show > .download-button > span {
            font-size: 13px;
        }
    .file-show > .name {
        font-size: 14px;
        padding: 5px;       
    }

/*#endregion post*/
/*#region ArticleEdit*/
.article-container > .article-item > .article-edit {

}
/*#endregion ArticleEdit*/
/*#region Comment*/
.article-container > .article-item > .comment-container {
    background-color: #fafafa;
    padding: 10px;
    border-top: 1px solid #eee;
}
/*#region Comment-write*/
.article-container > .article-item > .comment-container > .comment-write-container {
    border-bottom: 1px dashed #ddd;
}
    .article-container > .article-item > .comment-container > .comment-write-container > .compose {
        position: relative;
    }
        .article-container > .article-item > .comment-container > .comment-write-container > .compose > .editor {
            width: calc(100% - 22px);            
            line-height: 24px;
            padding: 10px;
            font: normal 14px tahoma;
            border: 1px solid #ddd;
            resize: none;
            outline: none;
        }
            .article-container > .article-item > .comment-container > .comment-write-container > .compose > .editor:focus {
                border-color: #08c;
            }
        .article-container > .article-item > .comment-container > .comment-write-container > .compose.show-post-button > .editor {
            border-color: #08c;
        }
/*#endregion Comment-write*/
/*#region Comment-list*/
ul.comment-list {
    padding: 0 10px;
}
    ul.comment-list p {
        text-indent: 10px;
        margin: 5px 0px;
        font-size: 12px;
        line-height: 20px;
    }
    ul.comment-list > li {
        margin-top: 10px;
        position: relative;
    }
        ul.comment-list > li:hover > .action-button {
            visibility: visible;
        }
        ul.comment-list > li > .action-button {
            visibility: hidden;
            position: absolute;
            top: -1px;
            right: -1px;
        }
            ul.comment-list > li > .action-button:hover > i {
                color: #08c;
            }
            ul.comment-list > li > .action-button:hover > ul {
                visibility: visible;
            }
            ul.comment-list > li > .action-button > i {
                width: 25px;
                height: 25px;
                font-size: 15px;
                text-align: center;
                line-height: 25px;
                display: block;
                color: #ddd;
            }
            ul.comment-list > li > .action-button > ul {
                background-color: white;
                border: 1px solid #ddd;
                font: normal 12px Tahoma;
                position: absolute;
                z-index: 1;
                top: 26px;
                right: -4px;
                visibility: hidden;
            }
                ul.comment-list > li > .action-button > ul:before {
                    display: block;
                    content: '';
                    position: absolute;
                    top: -14px;
                    right: 9px;
                    border: 7px solid transparent;
                    border-bottom-color: #ddd;
                }
                ul.comment-list > li > .action-button > ul:after {
                    display: block;
                    content: '';
                    position: absolute;
                    top: -12px;
                    right: 10px;
                    border: 6px solid transparent;
                    border-bottom-color: white;
                }
                ul.comment-list > li > .action-button > ul > li {
                    border-left: 3px solid transparent;
                }
                ul.comment-list > li > .action-button > ul > li:hover {
                    background-color: #fafafa;
                    border-left-color: #08c;
                }
                    ul.comment-list > li > .action-button > ul > li > a {
                        text-decoration: none;
                        color: black;
                        display: block;
                        padding: 5px;
                        width: 70px;
                    }
        ul.comment-list > li > .post-info > .commenter {
            font: bold 13px tahoma;
            display: inline;  
        }
        ul.comment-list > li > .post-info > .time {
            font-size: 10px;
            display: inline;  
            color: #888;
        }
            ul.comment-list > li > .post-info > .time:before {
                content: " - ";
            }
        ul.comment-list > li > .content {
            
        }
        ul.comment-list > li > .file {
            border: 1px dashed #ddd;
            padding: 10px 5px;
            margin-top: 10px;
            background-color: white;
        }
            ul.comment-list > li > .file > .show-file-button {
                display: block;
                font-size: 11px;
                position: relative;
                color: black;
                text-decoration: none;
            }
                ul.comment-list > li > .file > .show-file-button:hover {
                    text-decoration: underline;
                }
                ul.comment-list > li > .file > .show-file-button > i {
                    font-size: 16px;
                    vertical-align: -3px;
                    margin-right: 5px;
                }
/*#endregion Comment-list*/
/*#region PostButton*/
.article-container > .article-item > .comment-container > .comment-write-container > .compose > .post-button-container {
    position: absolute;
    top: 55px;
    right: 0px;
    border: 1px solid #ddd;
    border-top: white;
    background-color: white;
    height: 0px;
    overflow: hidden;
    transition: height 0.3s, border-bottom-width 0.3s;
}
    .article-container > .article-item > .comment-container > .comment-write-container > .compose > .post-button-container > .post-button {
        font-size: 14px;
        background-color: transparent;
        border: none;
        outline: none;
        height: 30px;
        padding: 0 10px;
        transition: padding-left 0.5s;
        position: relative;
        z-index: 1;
    }
        .article-container > .article-item > .comment-container > .comment-write-container > .compose > .post-button-container > i {
            font-size: 15px;
            position: absolute;
            top: 7px;
            left: 9px;
            color: #08c;
            z-index: 0;
            transform: scale(0, 0);
        }
        .article-container > .article-item > .comment-container > .comment-write-container > .compose > .post-button-container:hover {
            transition: height 0.3s, border-bottom-width 0.3s 0.3s;
            border-bottom-width: 3px;
            height: 30px;
        }
        .article-container > .article-item > .comment-container > .comment-write-container > .compose > .post-button-container:hover > .post-button {
            padding-left: 30px;
        }
        .article-container > .article-item > .comment-container > .comment-write-container > .compose > .post-button-container:hover > i {
            transition: transform 0.2s 0.5s;
            transform: none;
        }
    .article-container > .article-item > .comment-container > .comment-write-container > .compose.show-post-button > .post-button-container,
    .article-container > .article-item > .comment-container > .comment-write-container > .compose > .editor:focus ~ .post-button-container {
        border-color: #08c;
        height: 30px;
    }
/*#endregion PostButton*/
/*#region AttachFile*/    
.article-container > .article-item > .comment-container > .comment-write-container > .compose > .attach-file-container > .attach-file-button-container {
    display: inline-block;
    position: relative;
    cursor: pointer;
    max-width: 50%;
}
    .article-container > .article-item > .comment-container > .comment-write-container > .compose > .attach-file-container > .attach-file-button-container:hover > .text-attach-file {
        text-decoration: underline;
    }
    .article-container > .article-item > .comment-container > .comment-write-container > .compose > .attach-file-container > .attach-file-button-container > .icon-container > i {
        position: absolute;
        font-size: 20px;
    }
    .article-container > .article-item > .comment-container > .comment-write-container > .compose > .attach-file-container > .attach-file-button-container > .text-attach-file {
        font-size: 12px;
        text-overflow: ellipsis;
        overflow: hidden;
        display: inline-block;
        max-width: 90%;
        white-space: nowrap;
    }  
.article-container > .article-item > .comment-container > .comment-write-container > .compose > .attach-file-container > .cancel-attach-file {
    display: inline-block;
    transform: scale(0, 0);
}   
.article-container > .article-item > .comment-container > .comment-write-container > .compose > .attach-file-container > .cancel-attach-file.show {
    transition: transform 0.5s 0.5s;
    transform: none;
}   
    .article-container > .article-item > .comment-container > .comment-write-container > .compose > .attach-file-container > .cancel-attach-file > i {
        font-size: 12px;
    }   
    .article-container > .article-item > .comment-container > .comment-write-container > .compose > .attach-file-container > .cancel-attach-file:hover > i {
        color: #08c;
        cursor: pointer;
    }   
/*#endregion AttachFile*/
/*#endregion Comment*/
/*#endregion ArticleContainer*/

/*#region RightAside*/
/*#region Controlbox*/
main > #col-3 > .section > .box.manager-box {

}
    main > #col-3 > .section > .box.manager-box > ul {

    }
        main > #col-3 > .section > .box.manager-box > ul > li {

        }
            main > #col-3 > .section > .box.manager-box > ul > li > a {
                text-decoration: none;
                color: black;
                font-size: 14px;
            }
                main > #col-3 > .section > .box.manager-box > ul > li > a > i {
                    font-size: 17px;
                    vertical-align: bottom;
                }
            main > #col-3 > .section > .box.manager-box > ul > li > a:hover > i {
                color: #08c;
            }
/*#endregion Controlbox*/
/*#endregion RightAside*/